/*
 * @Author: 107w 8801453+lu-shangru@user.noreply.gitee.com
 * @Date: 2023-04-12 10:42:06
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-05-06 10:59:24
 * @Description:
 *
 * Copyright (c) 2023 by 107w, All Rights Reserved.
 */
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  access_token: state => state.user.access_token,
  userInfo: state => state.user.userInfo,
  menu: state => state.user.menu,
  userName: state => state.user.userInfo.username,
  name: state => state.user.userInfo.username,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  routes: state => state.permission.routes,
  messageTemplateList: state => state.messageTemplate.messageTemplateList
}
export default getters
